Avoid division by 0 in the border rendering code
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 Jan 2016 22:30:33 +0000 (17:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 10 Jan 2016 04:44:43 +0000 (23:44 -0500)
commitcaaf537f94f0e03aabadef8c80a7a39dda02e2ff
tree1ee84e20400723a7bd1d7f48cb5668a51a68e013
parent7d0173763eb89f221636a07a28e45f9c29f8a069
Avoid division by 0 in the border rendering code

We skip sides with 0 border width in render_border, but when
we collect sides with the same style, we may pass the 0 width
down to render_frame_stroke anyway. So skip width 0 sides
there as well.
gtk/gtkrenderborder.c